package com.zzl.finance.data.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import com.zzl.apidoc.constants.RequiredType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * @author : gulili
 * @date : 2021/11/29 15:57
 */
@Data
@ApidocModel
public class MobileFileList implements Serializable {
    @Size(min = 1, message = "文件内容不能为空")
    @ApidocModelProperty(description = "上传的文件信息集合", required = RequiredType.TRUE)
    private List<MobileFile> list;
    @NotBlank(message = "用户唯一标识不能为空")
    @ApidocModelProperty(description = "用户唯一标识", required = RequiredType.TRUE)
    private String socketId;
}
